package com.hqyj.pojo;

import com.sun.javafx.beans.IDProperty;
import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table
public class Category {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;

    private String name;
}